Bookly\Lib\Slots\Finder D

Total Complexity 156
Dependencies 28
Dependents 2
Total lines 897
Lines of code 568
Logical lines of code 286
Comment lines 212
Methods 23
Properties 20

Methods 23

Method Rating Maintainability Complexity Lines of code
_prepareStaffData()
D
21
36 203
_generate()
C
33 28 89
load()
B
41 16 54
_prepareDates()
A
45 13 40
handleCartBookings()
A
44 12 42
_prepareServiceSchedule()
A
49 12 29
__construct()
A
51 9 25
getSelectedDateForPickadate()
S
56 6 20
getDisabledDaysForPickadate()
S
56 4 17
_groupDefault()
S
72 3 5
_stopDayPerColumn()
S
79 2 3
_stopDefault()
S
79 2 3
_breakDefault()
S
77 2 3
_breakOneSlot()
S
77 2 3
_stopCalendar()
S
80 1 3
prepare()
S
75 1 5
_stopOneSlot()
S
81 1 3
setLastFetchedSlot()
S
72 1 5
setSelectedDate()
S
77 1 4
getSelectedDate()
S
82 1 3
getSlots()
S
82 1 3
hasMoreSlots()
S
82 1 3
isServiceDurationInDays()
S
80 1 3